package string;
//String是变对象，因此不适合频繁修改内容，开销大，性能差
public class StringDemoTwo {
    public static void main(String[] args) {
        String str = "a";
        for (int i = 0; i < 100; ++i) {
            str += "a";
        }
        System.out.println(str);

    }
}
